package com.ld.hpfs.dao;

import java.util.ArrayList;
import java.util.HashMap;

import org.springframework.stereotype.Repository;

@Repository
public interface MdataMapper {
//	public int getMdataTypeCodeListCount(HashMap<String,Object> param);
	
	public int getMdataAccountListCount(HashMap<String,Object> param);
	
	public int getMdataGoodsListCount(HashMap<String,Object> param);
	
	public int getMdataClientListCount(HashMap<String,Object> param);
	
	public int getMdataClientAddressListCount(HashMap<String,Object> param);
	
	public int checkMdataClientForImport(HashMap<String,Object> param);
	
	public int checkMdataAccountForImport(HashMap<String,Object> param);
	
	public int checkMdataGoodsForImport(HashMap<String,Object> param);
	
	public void insertMdataClientForImport(HashMap<String,Object> param);
	
	public void insertMdataClientAddressForImport(HashMap<String,Object> param);
	
	public void insertMdataGoodsForImport(HashMap<String,Object> param);
	
//	public void insertMdataTypeForImport(HashMap<String,Object> param);
	
	public void insertMdataAccountForImport(HashMap<String,Object> param);
	
	public void updateMdataClientForImport(HashMap<String,Object> param);
	
	public void updateMdataClientAddressForImport(HashMap<String,Object> param);
	
	public void updateMdataGoodsForImport(HashMap<String,Object> param);
	
//	public void updateMdataTypeForImport(HashMap<String,Object> param);
	
	public void updateMdataAccountForImport(HashMap<String,Object> param);
	
//	public ArrayList<HashMap<String,Object>> getMdataType(HashMap<String,Object> param);
	
	public ArrayList<HashMap<String,Object>> getMdataAccount(HashMap<String,Object> param);
	
	public ArrayList<HashMap<String,Object>> getMdataGoodsList(HashMap<String,Object> param);
	
	public ArrayList<HashMap<String,Object>> getMdataClientList(HashMap<String,Object> param);
	
	public ArrayList<HashMap<String,Object>> getMdataClientAddressList(HashMap<String,Object> param);
	
	public ArrayList<HashMap<String,Object>> getMdataClientMappingForImport(HashMap<String,Object> param);
	
	public ArrayList<HashMap<String,Object>> getMdataClientAddressMappingForImport(HashMap<String,Object> param);
	
	public ArrayList<HashMap<String,Object>> getMdataGoodsMappingForImport(int id);
	
//	public ArrayList<HashMap<String,Object>> getMdataTypeMappingForImport(int id);
	
	public ArrayList<HashMap<String,Object>> getMdataAccountMappingForImport(int id);
	
//	public HashMap<String,Object> getMdataTypeCodeFromMdataType(HashMap<String,Object> param);
	
//	public int addMdataTypeCode(HashMap<String,Object> param);
	
//	public int updateMdataTypeCode(HashMap<String,Object> param);
	
//	public int deleteMdataTypeCode(HashMap<String,Object> param);
	
	public HashMap<String,Object> getMdataAccountCodeFromMdataAccount(HashMap<String,Object> param);
	
	public int addMdataAccountCode(HashMap<String,Object> param);
	
	public int updateMdataAccountCode(HashMap<String,Object> param);
	
	public int deleteMdataAccountCode(HashMap<String,Object> param);
	
	public HashMap<String,Object> getMdataGoodsCodeFromMdataGoods(HashMap<String,Object> param);
	
	public int addMdataGoodsCode(HashMap<String,Object> param);
	
	public int updateMdataGoodsCode(HashMap<String,Object> param);
	
	public int deleteMdataGoodsCode(HashMap<String,Object> param);
	
	public HashMap<String,Object> getMdataClientCodeFromMdataClient(HashMap<String,Object> param);
	
	public int addMdataClientCode(HashMap<String,Object> param);
	
	public int updateMdataClientCode(HashMap<String,Object> param);
	
	public int deleteMdataClientCode(HashMap<String,Object> param);
	
	public int deleteMdataClientWithAddressCode(HashMap<String,Object> param);
	
	public HashMap<String,Object> getMdataClientAddressCodeFromMdataClient(HashMap<String,Object> param);
	
	public int addMdataClientAddressCode(HashMap<String,Object> param);
	
	public int updateMdataClientAddressCode(HashMap<String,Object> param);
	
	public int deleteMdataClientAddressCode(HashMap<String,Object> param);
	
	public ArrayList<HashMap<String, String>> getMdataAcc(HashMap<String, Object> param);
}
